﻿@namespace BlazorStrap
@inherits BSProgressBase

@if (!IsMulti && !IsBar)
{
    <DynamicElement style="@Style" @attributes="@UnknownParameters" TagName="div" class="progress">
        <div class="@Classname" style="@styles" role="progressbar" aria-valuenow="@Value" aria-valuemin="0" aria-valuemax="@Max">@ChildContent</div>
    </DynamicElement>
}
@if (IsMulti && !IsBar)
{
    <DynamicElement @attributes="@UnknownParameters" TagName="div" class="@ClassnameMulti" style="@Style">
        @ChildContent
    </DynamicElement>
}
@if (!IsMulti && IsBar)
{
    <DynamicElement style="@styles" @attributes="@UnknownParameters" TagName="div" class="@Classname" role="progressbar" aria-valuenow="@Value" aria-valuemin="0" aria-valuemax="@Max">
        @ChildContent
    </DynamicElement>
}